﻿<UserControl x:Class="Cloth3D.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:cloth3DClasses="clr-namespace:Cloth3D.Classes"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">

    <Grid x:Name="LayoutRoot">
        <Grid.Background>
            <RadialGradientBrush RadiusX="0.952" RadiusY="0.349" Center="0.456,0.286" GradientOrigin="0.456,0.286">
                <RadialGradientBrush.RelativeTransform>
                    <TransformGroup>
                        <ScaleTransform CenterX="0.45600000023841858" CenterY="0.28600001335144043"/>
                        <SkewTransform AngleX="0" AngleY="0" CenterX="0.45600000023841858" CenterY="0.28600001335144043"/>
                        <RotateTransform Angle="-45.822" CenterX="0.45600000023841858" CenterY="0.28600001335144043"/>
                        <TranslateTransform/>
                    </TransformGroup>
                </RadialGradientBrush.RelativeTransform>
                <GradientStop Color="#FFFF5B00"/>
                <GradientStop Color="#FFB32F00" Offset="1"/>
            </RadialGradientBrush>
        </Grid.Background>
        
        <cloth3DClasses:Cloth x:Name="cloth3d"/>

        <Grid HorizontalAlignment="Left" VerticalAlignment="Top" Margin="20,20,0,0">
            <Button x:Name="btnReset" Content="Reset cloth"/>
                
        </Grid>
    </Grid>
</UserControl>
